package vip.xiaonuo.modular.file.resp;

import lombok.Data;

import java.util.List;

/**
 * UploadStatusResp
 *
 * @author JackLee
 * 2022/7/28 17:34
 */
@Data
public class UploadStatusResp {
    private List<String> uploaded;

    private Boolean skipUpload;

    private Boolean chunk;

    private String filePath;

    private Boolean endUpload;

    private String fileName;

    private String identifier;

    public UploadStatusResp uploaded(List<String> uploaded) {
        this.uploaded = uploaded;
        return this;
    }

    public UploadStatusResp skipUpload(Boolean skipUpload) {
        this.skipUpload = skipUpload;
        return this;
    }

    public UploadStatusResp chunk(Boolean chunk) {
        this.chunk = chunk;
        return this;
    }

    public UploadStatusResp filePath(String filePath) {
        this.filePath = filePath;
        return this;
    }

    public UploadStatusResp endUpload(Boolean endUpload) {
        this.endUpload = endUpload;
        return this;
    }

    public UploadStatusResp fileName(String fileName) {
        this.fileName = fileName;
        return this;
    }

    public UploadStatusResp identifier(String identifier) {
        this.identifier = identifier;
        return this;
    }
}
